package com.heima.apis.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.pojos.WmUser;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.http.protocol.ResponseServer;

@Api(tags = "自媒体用户控制类")
public interface WmUserControllerApi {

    @ApiOperation("保存自媒体用户")
    ResponseResult save(WmUser wmUser);

    @ApiOperation("根据用户名查询自媒体用户")
    WmUser findByName(String name);



    // 远程调用接口  根据id查询自媒体用户
    WmUser findWmUserById(Long id);
}
